package com.cmc.cloud.cmclink.doc.mapper;

import com.cmc.cloud.cmclink.doc.entity.SoCargoDO;
import com.cmc.cloud.cmclink.doc.vo.sovo.socargovo.SoCargoSumVO;
import com.cmes.framework.mybatis.core.mapper.BaseMapperX;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 订舱货物信息 Mapper
 *
 * @author 招商轮船-管理员
 */
@Mapper
public interface SoCargoMapper extends BaseMapperX<SoCargoDO> {
    /**
     * 订舱货物 统计信息
     * @param soIds 关联ID
     * @return 订舱货物统计信息
     */
    List<SoCargoSumVO> selectSumBySoIds(@Param("soIds") List<Long> soIds);
}
